<%= alchemy_form_for([:admin, @attachment],
  url: {action: :update, q: params[:q], page: params[:page]}) do |f| -%>
  <%= f.input :name, input_html: {autofocus: true} %>
  <%= f.input :file_name, input_html: {autofocus: true}, hint: Alchemy.t(:attachment_filename_notice) %>
  <div class="input string">
    <%= f.label :tag_list %>
    <%= render 'alchemy/admin/partials/autocomplete_tag_list', f: f %>
  </div>
  <%= f.submit Alchemy.t(:save) %>
<% end %>
